<template>
	<!-- 名片数据 -->
	<view  :style="'border-radius:'+radius+';margin:'+margin+';background-color: '+backColor+';'" class="carddate u-m-t-58 u-flex-col u-row-center u-col-center  u-p-x-65 u-p-y-30">
		<view class="u-font-36 u-weight-900">
			<text style="margin-right: 52rpx;">名片数据</text>
			<image style="width: 24rpx;height: 24rpx;"
				src="https://job.ydylmold.cn/mingpian/image/comIndex/youjiantou.png"></image>
		</view>
		<view class="u-flex u-row-between" style="margin-top: 63rpx; width: 100%;">
			<view class="u-flex-col u-row-between u-col-center">
				<view class="u-font-72 u-weight-700">{{cardData.browerQty || 0}}</view>
				<view class="u-font-24 u-weight-700 u-m-t-16" style="color: #8E959E;">总访问量/次</view>
			</view>
			<view class="u-flex-col u-row-between u-col-center">
				<view class="u-font-72 u-weight-700">{{cardData.toDayBrowerQty || 0}}</view>
				<view class="u-font-24 u-weight-700 u-m-t-16" style="color: #8E959E;">今日访问量/次</view>
			</view>
			<view class="u-flex-col u-row-between u-col-center">
				<view class="u-font-72 u-weight-700">{{cardData.shareNum || 0}}</view>
				<view class="u-font-24 u-weight-700 u-m-t-16" style="color: #8E959E;">发名片/次</view>
			</view>
		</view>
		<!-- <view class="u-flex u-row-between u-m-t-46" style="width: 100%;">
			<view class="u-font-28 u-weight-700">近期访问 {{cardData.toDayBrowerQty || 0}}/人</view>
		</view> -->
	</view>
</template>
<script>
	import {
		mapGetters
	} from "vuex";
	export default {
		props:{
			radius:{
				type:String,
				default:'64rpx'
			},
			margin:{
				type:String,
				default:'58rpx 0 0 0'
			},
			backColor:{
				type:String,
				default:'#fff'
			}
		},
		data() {
			return {
			}
		},
		computed: {
			...mapGetters(['cardData']),
		},
		methods: {
			
		}
	}
</script>
<style lang="scss">
	.carddate {
		width: 680rpx;
		background-color: white;
		border-radius: 64rpx;
	}
</style>
